[INFO] fetching crate agentkit-tools-derive 0.9.1...
[INFO] fixing agentkit-tools-derive-0.9.1 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] extracting crate agentkit-tools-derive 0.9.1 into /workspace/builds/worker-5-tc1/source
[INFO] started tweaking crates.io crate agentkit-tools-derive 0.9.1
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate agentkit-tools-derive 0.9.1
[INFO] tweaked toml for crates.io crate agentkit-tools-derive 0.9.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate agentkit-tools-derive 0.9.1 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate agentkit-tools-derive 0.9.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1f3c3dca27a1f96e0176b921bba3111e6d0c6b33c31cad66460120df10f844db
[INFO] running `Command { std: "docker" "start" "1f3c3dca27a1f96e0176b921bba3111e6d0c6b33c31cad66460120df10f844db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f3c3dca27a1f96e0176b921bba3111e6d0c6b33c31cad66460120df10f844db" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f3c3dca27a1f96e0176b921bba3111e6d0c6b33c31cad66460120df10f844db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1f3c3dca27a1f96e0176b921bba3111e6d0c6b33c31cad66460120df10f844db" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]     Checking syn v2.0.117
[INFO] [stderr]     Checking agentkit-tools-derive v0.9.1 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling serde_derive_internals v0.29.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.25
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]    Compiling schemars_derive v1.2.1
[INFO] [stderr]     Checking ref-cast v1.0.25
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking schemars v1.2.1
[INFO] [stdout] error[E0432]: unresolved import `agentkit_core`
[INFO] [stdout]  --> tests/macro_integration.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use agentkit_core::{MetadataMap, SessionId, ToolCallId, ToolOutput, ToolResultPart, TurnId};
[INFO] [stdout]   |     ^^^^^^^^^^^^^ use of unresolved module or unlinked crate `agentkit_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `agentkit_core`, use `cargo add agentkit_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `agentkit_tools_core`
[INFO] [stdout]  --> tests/macro_integration.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use agentkit_tools_core::{
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `agentkit_tools_core`
[INFO] [stdout]   |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]   |
[INFO] [stdout] 8 - use agentkit_tools_core::{
[INFO] [stdout] 8 + use agentkit_tools_derive::{
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `agentkit_tools_core` in the crate root
[INFO] [stdout]   --> tests/macro_integration.rs:24:1
[INFO] [stdout]    |
[INFO] [stdout] 24 | #[tool]
[INFO] [stdout]    | ^^^^^^^ could not find `agentkit_tools_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `agentkit_tools_core` in the crate root
[INFO] [stdout]   --> tests/macro_integration.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[tool(name = "speak", description = "Echo the input value back")]
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ could not find `agentkit_tools_core` in the list of imported crates
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `agentkit_tools_core` in the crate root
[INFO] [stdout]    --> tests/macro_integration.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout] 118 | / #[tool(
[INFO] [stdout] 119 | |     read_only,
[INFO] [stdout] 120 | |     destructive = false,
[INFO] [stdout] 121 | |     idempotent,
[INFO] [stdout] 122 | |     needs_approval = true,
[INFO] [stdout] 123 | |     supports_streaming
[INFO] [stdout] 124 | | )]
[INFO] [stdout]     | |__^ could not find `agentkit_tools_core` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `agentkit_tools_core` in the crate root
[INFO] [stdout]    --> tests/macro_integration.rs:151:1
[INFO] [stdout]     |
[INFO] [stdout] 151 | #[tool(idempotent)]
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^ could not find `agentkit_tools_core` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `agentkit_tools_core` in the crate root
[INFO] [stdout]    --> tests/macro_integration.rs:194:1
[INFO] [stdout]     |
[INFO] [stdout] 194 | / #[tool(
[INFO] [stdout] 195 | |     name = "rename_thing",
[INFO] [stdout] 196 | |     description = "Override description.",
[INFO] [stdout] 197 | |     destructive
[INFO] [stdout] 198 | | )]
[INFO] [stdout]     | |__^ could not find `agentkit_tools_core` in the list of imported crates
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the attribute macro `tool` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentkit_tools_core` in this scope
[INFO] [stdout]    --> tests/macro_integration.rs:166:16
[INFO] [stdout]     |
[INFO] [stdout] 166 |     let spec = agentkit_tools_core::Tool::spec(&counter);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `agentkit_tools_core`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 166 -     let spec = agentkit_tools_core::Tool::spec(&counter);
[INFO] [stdout] 166 +     let spec = agentkit_tools_derive::Tool::spec(&counter);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentkit_tools_core` in this scope
[INFO] [stdout]    --> tests/macro_integration.rs:177:18
[INFO] [stdout]     |
[INFO] [stdout] 177 |     let result = agentkit_tools_core::Tool::invoke(&counter, request, &mut ctx)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `agentkit_tools_core`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 177 -     let result = agentkit_tools_core::Tool::invoke(&counter, request, &mut ctx)
[INFO] [stdout] 177 +     let result = agentkit_tools_derive::Tool::invoke(&counter, request, &mut ctx)
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `agentkit_tools_core` in this scope
[INFO] [stdout]    --> tests/macro_integration.rs:211:16
[INFO] [stdout]     |
[INFO] [stdout] 211 |     let spec = agentkit_tools_core::Tool::spec(&renamer);
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `agentkit_tools_core`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 211 -     let spec = agentkit_tools_core::Tool::spec(&renamer);
[INFO] [stdout] 211 +     let spec = agentkit_tools_derive::Tool::spec(&renamer);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `agentkit-tools-derive` (test "macro_integration") due to 10 previous errors
[INFO] running `Command { std: "docker" "inspect" "1f3c3dca27a1f96e0176b921bba3111e6d0c6b33c31cad66460120df10f844db", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f3c3dca27a1f96e0176b921bba3111e6d0c6b33c31cad66460120df10f844db", kill_on_drop: false }`
[INFO] [stdout] 1f3c3dca27a1f96e0176b921bba3111e6d0c6b33c31cad66460120df10f844db
